package com.opal.modules.costReportForm.mapper.mysql;

import com.opal.modules.costReportForm.entity.table.OpalUserProcinst;
import com.opal.modules.costReportForm.entity.table.OpalUserProcinstExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OpalUserProcinstMapper {
    int countByExample(OpalUserProcinstExample example);

    int deleteByExample(OpalUserProcinstExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OpalUserProcinst record);

    int insertSelective(OpalUserProcinst record);

    List<OpalUserProcinst> selectByExample(OpalUserProcinstExample example);

    OpalUserProcinst selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OpalUserProcinst record, @Param("example") OpalUserProcinstExample example);

    int updateByExample(@Param("record") OpalUserProcinst record, @Param("example") OpalUserProcinstExample example);

    int updateByPrimaryKeySelective(OpalUserProcinst record);

    int updateByPrimaryKey(OpalUserProcinst record);
}